from django.contrib import admin
from Applications.Article.models import Article, Article_Tag


# Goods模型的管理器
@admin.register(Article)

class ArticleAdmin(admin.ModelAdmin):
    list_display = ('title', 'type', 'views', 'like', 'pub_time')

# Goods模型的管理器
@admin.register(Article_Tag)

class ArticleTagAdmin(admin.ModelAdmin):
    list_display = ('name', 'slug')